package com.example.demo.service.impl

import com.example.demo.mapper.CustomMapper
import com.example.demo.pojo.BookInf
import com.example.demo.service.MyService
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Service


@Service
class MyServiceImpl : MyService {
    @Autowired
    private lateinit var customMapper: CustomMapper
    override fun getBooks(): List<BookInf?>? {
        return customMapper.selectCustom()
    }
}